default: build

all: default deploy

build:
	./configure.py
	javac *.java
	jar cmf manifest.mf Interpolators.jar *.class

deploy:
	cp Interpolators.jar ~/share/deploy
	cp index.cgi common.py main.html.fmt settings.json presentation.css Interpolators.jar /var/www/interpolators

clean:
	./configure.py clean
	rm -rf *.class Interpolators.jar __pycache__
